<!DOCTYPE html>
<html lang="zh">
<head>
<title>平台商品管理 | OMS</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="Thu, 19 Nov 1900 08:52:00 GMT" />

<!-- 加载 bootstrap 样式-->
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-ui-1.10.4.custom/css/ui-lightness/jquery-ui-1.10.4.custom.min.css" />
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/font-awesome/css/font-awesome.min.css" />
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/bootstrap/css/bootstrap.min.css" />

<!-- 加载本页需要的三方插件样式 -->
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/media/css/jquery.dataTables.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/extensions/TableTools/css/dataTables.tableTools.min.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/media/css/dataTables.bootstrap.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-tablesorter/themes/blue/style-custom.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-bootstrap-wizard/custom.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-steps/css/jquery.steps.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/animate.css/animate.css" />
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/iCheck/skins/all.css" />

<!-- 加载主题风格样式 -->
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/css/themes/style1/orange-blue.css" class="default-style" />
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/css/themes/style1/orange-blue.css" id="theme-change"
    class="style-change color-change" />
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/css/style-responsive.css" />
<link type="text/css" rel="stylesheet" href="/css/tooltip.css" />

<link type="text/css" rel="stylesheet" href="jquery.treetable.css" />
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-treetable/stylesheets/jquery.treetable.theme.custom.css">
<style>
th, td {
    overflow: inherit;
}
</style>
</head>
<body class="">
    <!--BEGIN CONTENT-->
    <div class="page-content">
        <div class="container-fluid">
            <div class="row">
                <div class="col-lg-8 col-xs-8 col-sm-8 col-md-8" style="line-height:36px;">
                     <div class="actions">
                                <a href="#" class="btn btn-xs btn-info" data-toggle="" data-target="" onclick="synchStock()" id = "synchStock" disabled>
                                    <i class="fa"></i>&nbsp;库存同步
                                </a>&nbsp;
                                
                                <!-- 增加添加到系统商品功能  -->
                                <a href="#" class="btn btn-xs btn-info" data-toggle="" data-target="" onclick="copyPlatformItem2SystemItem()" id="copyPlatformItem2SystemItem" disabled>
                                    <i class="fa"></i>&nbsp;添加到系统商品
                                </a>&nbsp;

                                <div class="btn-group">
                                    <button type="button" data-toggle="dropdown" class="btn btn-xs btn-info dropdown-toggle">
                                                                            商品上下架 &nbsp; <span class="caret"></span>
                                    </button>
                                    <ul role="menu" class="dropdown-menu">
                                        <li style="display:none;"><a href="#" onclick="listingItem(true);" id="listingItemT">商品上架</a></li>
                                        <li style="display:none;"><a href="#" onclick="listingItem(false);"id = "listingItemF">商品下架</a></li>
                                    </ul>
                                </div>&nbsp;

                                <div class="btn-group">
                                    <button type="button" data-toggle="dropdown" class="btn btn-xs btn-info dropdown-toggle">
                                                                            批量设置 &nbsp; <span class="caret"></span>
                                    </button>
                                    <ul role="menu" class="dropdown-menu">
                                        <li style="display:none;"><a href="#" onclick="batchSetting(true);" id ="batchSettingT">允许自动上架</a></li>
                                        <li style="display:none;"><a href="#" onclick="batchSetting(false);" id ="batchSettingF">不允许自动上架</a></li>
                                        <li style="display:none;"><a href="#" onclick="autoRelationSysGoods();" id ="autoRelationSysGoods">关联系统商品</a></li>
                                        <li style="display:none;"><a href="#" onclick="cancelRelationSysGoods();" id="cancelRelationSysGoods">取消关联系统商品</a></li>
                                        <li style="display:none;"><a href="#" onclick="batchUpdateAutoStock(true);" id="batchUpdateAutoStockT">允许库存同步</a></li>
                                        <li style="display:none;"><a href="#" onclick="batchUpdateAutoStock(false);" id="batchUpdateAutoStockF">不允许库存同步</a></li>
                                    </ul>
                                </div>
                            </div>
                </div>
                <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4" style="margin-bottom: 10px;">
                    <div class="input-group">
                        <input id="quickSearch" type="text" placeholder="商品编码/名称、规格编码/名称" class="form-control" style="margin-top:1px;"/> <span class="input-group-btn">
                            <button id="btnQuickSearch" type="button" class="btn btn-primary">
                                <i class="fa fa-search"></i>
                            </button>
                            <button id="btnAdvSearch" type="button" class="btn btn-default btn-adv-search">
                                <i class="fa fa-angle-double-down" style="font-size: 20px; color: white;"></i>
                            </button>
                        </span>
                    </div>
                </div>
            </div>
            <!-- 高级查询 -->
            <row>
            <!--<div class="panel panel-default" id="advSearchPanel" style="position: fixed; Z-index: 9999; width: 95%;display:none;">-->
                <div class="panel panel-default" id="advSearchPanel" style="display: none;">
                <!-- 窗体悬浮，百分比根据情况设置 -->
                <div class="panel-body">
                    <form id="frmAdvSearch" role="form" action="" class="form-horizontal advance-query">
                        <!-- advance-query 必须要写的 -->
                        <div class="row">
                            <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4" style="display:none;">
                                <div class="form-group">
                                    <label for="prjId" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">所属项目 </label>
                                    <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                        <select id="prjId" name="prjId" class="form-control forsubmiteq" fieldname="item.prj_id"
                                            fieldtype="string" fieldoperator="and">
                                            <option value="">请选择</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                                <div class="form-group">
                                    <label for="shopId" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">所属店铺 </label>
                                    <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                        <select id="shopId" name="shopId" class="form-control forsubmiteq" fieldname="item.shop_id"
                                            fieldtype="string" fieldoperator="and">
                                            <option value="">请选择</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                                <div class="form-group">
                                    <label for="shopType" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">所属平台 </label>
                                    <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                        <select id="shopType" name="shopType" class="form-control forsubmiteq" fieldname="item.shop_type"
                                            fieldtype="string" fieldoperator="and">
                                            <option value="">请选择</option>
                                            <option value="商城">商城</option>
                                            <!-- <option value="淘宝">淘宝</option>
                                            <option value="京东">京东</option>
                                            <option value="小V铺">小V铺</option>
                                            <option value="唯品会直发">唯品会直发</option>
                                            <option value="淘宝分销">淘宝分销</option>
                                            <option value="网易考拉">网易考拉</option>
                                            <option value="小红书">小红书</option>
                                            <option value="苏宁">苏宁</option> -->
                                        </select>
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                                <div class="form-group">
                                    <label for="status" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">平台状态 </label>
                                    <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                        <select id="status" name="status" class="form-control forsubmiteq" fieldname="item.approve_status"
                                            fieldtype="string" fieldoperator="and">
                                            <option value="">请选择</option>
                                            <option value="上架">上架</option>
                                            <option value="下架">下架</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                                <div class="form-group">
                                    <label for="ecItemCode" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">平台商品编码 </label>
                                    <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                        <input id="ecItemCode" name="ecItemCode" type="text" placeholder="" minlength="1" maxlength="100"
                                            class="form-control forsubmiteq" fieldname="item.ec_item_code" fieldtype="string" fieldoperator="and" />
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                                <div class="form-group">
                                    <label for="ecItemName" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">平台商品名称 </label>
                                    <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                        <input id="ecItemName" name="ecItemName" type="text" placeholder="" minlength="1" maxlength="200"
                                            class="form-control forsubmiteq" fieldname="item.ec_item_name" fieldtype="string" fieldoperator="and" />
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                                <div class="form-group">
                                    <label for="ecSkuCode" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">平台规格编码 </label>
                                    <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                        <input id="ecSkuCode" name="ecSkuCode" type="text" placeholder="" minlength="1" maxlength="100"
                                            class="form-control forsubmiteq" fieldname="sku.ec_sku_code" fieldtype="string" fieldoperator="and" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                                <div class="form-group">
                                    <label for="ecSkuName" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">平台规格名称 </label>
                                    <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                        <input id="ecSkuName" name="ecSkuName" type="text" placeholder="" minlength="1" maxlength="200"
                                            class="form-control forsubmiteq" fieldname="sku.ec_sku_name" fieldtype="string" fieldoperator="and" />
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                                <div class="form-group">
                                    <label for="outerCode" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">平台商品商家编码 </label>
                                    <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                        <input id="outerCode" name="outerCode" type="text" placeholder="" minlength="1" maxlength="200"
                                            class="form-control forsubmiteq" fieldname="item.outer_code" fieldtype="string" fieldoperator="and" />
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                                <div class="form-group">
                                    <label for="itemOuterCode" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">平台规格商家编码 </label>
                                    <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                        <input id="itemOuterCode" name="itemOuterCode" type="text" placeholder="" minlength="1" maxlength="200"
                                            class="form-control forsubmiteq" fieldname="item.item_outer_code" fieldtype="string" fieldoperator="and" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-12 col-lg-12 col-xs-12 col-md-12 text-right">
                                <button type="reset" id="advSearchReset" name="advSearchReset" class="btn btn-default">重置</button>
                                <button type="button" id="advSearchSubmit" name="advSearchSubmit" class="btn btn-primary">查询</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            </row>
            <div class="row">
                <div class="col-lg-12">
                    <div class="portlet box portlet-blue" style="margin-bottom: 15px;">
                        <div class="portlet-header">
                            <div class="caption">平台商品列表</div>
                            <div class="actions">
                                
                                <!-- 增加导出功能  -->
                                <a href="#" class="btn btn-xs btn-warning" data-toggle="" data-target="" onclick="exportItemList()"> <i
                                    class="fa"></i>&nbsp;导出
                                </a>
                            </div>
                        </div>
                        <div class="portlet-body">
                            <table id="itemTable" style="table-layout:fixed;margin-left: 0px;" class="table table-hover table-striped table-bordered table-advanced" width="100%" >
                                <thead>
                                    <tr>
                                        <th width="3%"></th>
                                        <th width="3%" style="padding:10px;" colValue="">
                                            <input id="chkAll" name="chkAll" type="checkbox" colValue="chk" class="checkall" /><!--  style="display:none;" -->
                                        </th>
                                        <th width="9%" colValue="ecItemCode">关联状态</th>
                                        <th width="12%" colValue="ecItemCode">平台商品编码</th>
                                        <th width="13%" colValue="ecItemName">平台商品名称</th>
                                        <th width="12%" colValue="outerCode">平台商品商家编码</th>
                                        <th width="8%" colValue="status">上下架状态</th>
                                        <th width="14%" colValue="prjName">所属项目</th>
                                        <th width="15%" colValue="shopName">所属店铺</th>
                                        <th width="7%" colValue="shopType">来源平台</th>
                                        <th width="7%" colValue="autoList">自动上架</th>
                                    </tr>
                                <tbody>

                                </tbody>
                                </thead>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- ====================================== 窗口区 ===================================== -->
    <!--设置关联商品页面-->
    <div id="frmProjectSkuList" tabindex="-1" role="dialog" aria-hidden="true" class="modal fade">
        <div class="modal-dialog" style="width:80%;">
            <div class="modal-content">
                <div class="modal-header modal-header-primary">
                    <button type="button" data-dismiss="modal" aria-hidden="true" class="close">x</button>
                    <h4 id="modal-header-primary-label" class="modal-title">设置关联商品</h4>
                </div>
                <div class="modal-body">
                    <!--begin form-->
                    <form id="projectSkuListForm" action="#" class="form-horizontal">
                        <div class="form-body pal">
                            <div class="row">
                                <div class="col-md-12">
                                    <div class="form-group">
                                        <font size="3" style="font-weight: bold;">请选择与<font id="skuCodeTxt" color="red"></font>关联的系统规格：
                                        </font>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-md-6">
                                    <div class="form-group"></div>
                                </div>
                                <div class="col-md-6">
                                    <div class="input-group">
                                        <input id="quickSkuSearch" type="text" placeholder="商品商家编码、商品名称、规格商家编码、规格名称" class="form-control" /> <span
                                            class="input-group-btn">
                                            <button id="btnQuickSkuSearch" type="button" class="btn btn-primary">
                                                <i class="fa fa-search"></i>
                                            </button>
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </form>
                    <!--end form-->
                    <div class="portlet-body" style="height: 450px; overflow-y: auto; overflow-x: scroll;">
                        <table id="tblProjectSkuList" class="table table-hover table-striped table-bordered table-advanced tb-sticky-header"
                            width="100%">
                            <thead>
                                <tr>
                                    <th id="thProjectSkuList" style="width: 13px; padding: 0px 10px;"></th>
                                    <th width="20%">商品商家编码</th>
                                    <th width="29%">商品名称</th>
                                    <th width="20%">规格商家编码</th>
                                    <th width="29%">规格名称</th>
                                </tr>
                            <tbody>
                            </tbody>
                            </thead>
                        </table>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" data-dismiss="modal" class="btn btn-default">关闭</button>
                    <button id="btnSave_s" type="button" class="btn btn-primary">保存</button>
                </div>
            </div>
        </div>
    </div>

    <!-- 组合商品设置 -->
    <div id="modalCreate" tabindex="-1" role="dialog" aria-labelledby="modal-header-primary-label" data-backdrop="static" aria-hidden="true"
        class="modal fade">
        <div class="modal-dialog modal-wide-width">
            <div class="modal-content">
                <div class="modal-header modal-header-primary">
                    <button type="button" data-dismiss="modal" aria-hidden="true" class="close">&times;</button>
                    <h4 id="modal-header-primary-label" class="modal-title">组合商品设置</h4>
                </div>
                <div class="modal-body" style="height: 500px">
                    <h3 id="createGroupLable" class="mbxl">请设置平台规格商品***的组合商品明细：</h3>
                    <form id="createGroupForm" role="form" action="" class="form-horizontal">
                        <div class="row">
                            <div class="col-sm-12 col-lg-12 col-xs-12 col-md-12 text-right">
                                <button type="button" id="createGroup" name="createGroup" class="btn btn-primary">添加</button>
                                <button type="button" id="deleteGroup" name="deleteGroup" class="btn btn-primary">删除</button>
                                <input id="ecSkuId" type="hidden" /> <input id="ecItemId" type="hidden" />
                            </div>
                        </div>
                        <p>
                            <!-- 规格列表 -->
                        <div class="portlet-body">
                            <div class="table-responsive">
                                <table id="createGroupTable" style="table-layout: fixed;" class="table table-striped table-bordered table-hover"
                                    width="100%">
                                    <thead>
                                        <tr>
                                            <th style="width: 1%; padding: 10px;"><input id="chkAllGroup" name="chkAllGroup" type="checkbox"
                                                colValue="chk" class="checkall" /></th>
                                            <th width="10%" colValue="">商品商家编码</th>
                                            <th width="15%" colValue="">商品名称</th>
                                            <th width="10%" colValue="">规格商家编码</th>
                                            <th width="15%" colValue="">规格名称</th>
                                            <th width="10%" colValue="">数量</th>
                                            <th width="10%" colValue="">价格系数</th>
                                            <th width="10%" colValue="">推送系数</th>
                                            <th width="19%" colValue="">备注</th>
                                        </tr>
                                    <tbody>

                                    </tbody>
                                    </thead>
                                </table>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" data-dismiss="modal" class="btn btn-default">取消</button>
                    <button id="btnGoodsAction" type="button" class="btn btn-primary">确认</button>
                </div>
            </div>
        </div>
    </div>

    <!-- 添加组合商品设置 -->
    <div id="goodsGroupSelect" tabindex="-1" role="dialog" aria-labelledby="modal-header-primary-label" data-backdrop="static" aria-hidden="true"
        class="modal fade">
        <div class="modal-dialog modal-wide-width">
            <div class="modal-content">
                <div class="modal-header modal-header-primary">
                    <button type="button" data-dismiss="modal" aria-hidden="true" class="close">&times;</button>
                    <h4 id="modal-header-primary-label" class="modal-title">设置组合商品</h4>
                </div>
                <div class="modal-body">
                    <div class="mbxl col-lg-8 col-xs-8 col-sm-8 col-md-8">请选择商品</div>
                    <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4" style="margin-bottom: 10px;">
                        <div class="input-group">
                            <input id="goodsSkuSearch" type="text" placeholder="商家编码，商品/规格" class="form-control" /> <span
                                class="input-group-btn">
                                <button id="btnQuickGoodsSkuSearch" type="button" class="btn btn-primary">
                                    <i class="fa fa-search"></i>
                                </button>
                            </span>
                        </div>
                    </div>
                </div>
                <div class="portlet-body container-fluid">
                    <table id="goodsSkuTable" class="table table-hover table-striped table-bordered table-advanced">
                        <thead>
                            <tr>
                                <th width="1%" style="padding: 10px;" colValue=""><input id="chkAllGoodsSku" name="chkAllGoodsSku"
                                    type="checkbox" colValue="chk" class="checkall" /></th>
                                <th width="20%" colValue="">商品商家编码</th>
                                <th width="30%" colValue="">商品名称</th>
                                <th width="20%" colValue="">规格商家编码 </th>
                                <th width="29%" colValue="">规格名称</th>
                            </tr>
                        </thead>
                        <tbody>
                        </tbody>
                    </table>
                </div>
                <div class="modal-footer">
                    <button type="button" data-dismiss="modal" class="btn btn-default">取消</button>
                    <button id="btnGoodsSkuAction" type="button" class="btn btn-primary">确认</button>
                </div>
            </div>
        </div>
    </div>

    <div id="frmSynchStock" tabindex="-1" role="dialog" aria-labelledby="modal-header-primary-label" data-backdrop="static"
        aria-hidden="true" class="modal fade">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header modal-header-primary">
                    <button type="button" data-dismiss="modal" aria-hidden="true" class="close">x</button>
                    <h4 id="modal-header-primary-label" class="modal-title">同步库存</h4>
                </div>
                <div class="modal-body">
                    <!--begin form-->
                    <form id="synchForm" action="#" class="form-horizontal">
                        <div class="row">
                            <div class="col-lg-12 col-xs-12 col-sm-12 col-md-12">
                                <div class="form-group">
                                    <label for="" class="col-sm-2 col-lg-2 col-xs-2 col-md-2 control-label">同步方式</label>
                                    <div class="col-sm-10 col-lg-10 col-xs-10 col-md-10">
                                        <label for="shopSynch" class="control-label"><input type="radio" id="shopSynch" name="stockSynch" class="stockSynchCls control-label"/>&nbsp;按店铺同步</label>
                                        &nbsp;&nbsp;
                                        <label for="itemSynch" class="control-label"><input type="radio" id="itemSynch" name="stockSynch" class="stockSynchCls control-label"/>&nbsp;按商品同步</label>
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-12 col-xs-12 col-sm-12 col-md-12">
                                <div class="form-group">
                                    <label for="shopId_synch" class="col-sm-2 col-lg-2 col-xs-2 col-md-2 control-label">店铺</label>
                                    <div class="col-sm-10 col-lg-10 col-xs-10 col-md-10">
                                        <select id="shopId_synch" name="shopId_synch" class="form-control">
                                            <option value="">请选择</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </form>
                    <!--end form-->
                </div>
                <div class="modal-footer">
                    <button type="button" data-dismiss="modal" class="btn btn-default">关闭</button>
                    <button id="btnSynch" type="button" class="btn btn-primary">同步</button>
                </div>
            </div>
        </div>
    </div>

    <!-- 导出文件 -->
    <div id="exportList" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" class="modal fade"
        aria-labelledby="modal-header-primary-label"></div>

    <!--隐藏元素-->
    <input id="ec_sku_id" type="hidden" />

    <!--END CONTENT -->
    <!-- 加载 jquery js-->
    <script src="/Apollo/madmin/js/jquery-1.10.2.min.js"></script>
    <script src="/Apollo/madmin/js/jquery-migrate-1.2.1.min.js"></script>
    <script src="/Apollo/madmin/js/jquery-ui.js"></script>

    <!-- 加载 bootstrap 和三方插件 js -->
    <script src="/Apollo/madmin/vendors/bootstrap/js/bootstrap.min.js"></script>
    <script src="/Apollo/madmin/vendors/bootstrap-hover-dropdown/bootstrap-hover-dropdown.js"></script>
    <script src="/Apollo/madmin/js/html5shiv.js"></script>
    <script src="/Apollo/madmin/js/respond.min.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-cookie/jquery.cookie.js"></script>
    <script src="/Apollo/madmin/vendors/iCheck/icheck.min.js"></script>
    <script src="/Apollo/madmin/vendors/iCheck/custom.min.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-notific8/jquery.notific8.min.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-pace/pace.min.js"></script>
    <script src="/Apollo/madmin/vendors/holder/holder.js"></script>
    <script src="/Apollo/madmin/vendors/responsive-tabs/responsive-tabs.js"></script>
    <script src="/Apollo/madmin/vendors/moment/moment.js"></script>
    <script src="/Apollo/madmin/vendors/DataTables/media/js/jquery.dataTables.js"></script>
    <script src="/Apollo/madmin/vendors/DataTables/media/js/dataTables.bootstrap.js"></script>
    <script src="/Apollo/madmin/vendors/DataTables/extensions/TableTools/js/dataTables.tableTools.min.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-tablesorter/jquery.tablesorter.js"></script>
    <script src="/Apollo/madmin/js/table-advanced.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-validate/jquery.validate.min.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-validate/message_zh.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-steps/js/jquery.steps.min.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-bootstrap-wizard/jquery.bootstrap.wizard.min.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-news-ticker/jquery.newsTicker.min.js"></script>
    <script src="/Apollo/madmin/vendors/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
    <script src="/Apollo/madmin/vendors/bootstrap-daterangepicker/daterangepicker.js"></script>
    <script src="/Apollo/madmin/vendors/DataTables/extensions/FixedColumns/js/dataTables.fixedColumns.js"></script>

    <!-- 加载本页面对应的js -->
    <script src="/views/static/js/setPageButtonStatus.js"></script>
    <script src="/views/static/js/jquery.validate.extend.js"></script>
    <script src="item.js"></script>
    <script src="/views/static/js/export.js"></script>
    <script src="/views/static/js/form.js"></script>
</body>
</html>